package nl.hu.verbrandendephoenix.view;

import java.util.ArrayList;

import com.google.gwt.user.client.ui.*;

public class MyAuctions {
	
	private Panel pnlViewAuctions;
	private Grid grdViewAuctions;
	private Label lblAuctionList;
	public ListBox boxAuctions;
	private Button btnSubmit;
	private String stringMyAuction = "";
	
	
	public MyAuctions(){
		pnlViewAuctions = new VerticalPanel();
		
	}
	
	public Panel constructForm(){
		grdViewAuctions = new Grid(4,3);
		
		pnlViewAuctions.add(grdViewAuctions);
		
		lblAuctionList = new Label("Dit zijn uw veilingen:");
		boxAuctions = new ListBox();
		boxAuctions.addItem("Selecteer een veiling");
		btnSubmit = new Button("Submit");
		
		grdViewAuctions.setWidget(0,1,lblAuctionList);
		grdViewAuctions.setWidget(1,1,boxAuctions);
		grdViewAuctions.setWidget(1,2, btnSubmit);
		
		return pnlViewAuctions;
	}
	
	public Button getBtnSubmit() {
		return btnSubmit;
	}
	
	
	
}


